<?php
	// make different menu bar, depending if user is logged in or not
	// may need several levels of menu, depending how we end up configuring this part
	
	$register = "<a href=\"register.php\"><img src=\"images/Register.png\" width=\"116\" height=\"68\" alt=\"Register\" /></a>";
	$account = "<a href=\"account_settings.php\"><img src=\"images/AccountSettings.png\" width=\"116\" height=\"68\" alt=\"Account Settings\" /></a>";
	$group = "<a href=\"group.php\"><img src=\"images/Group.png\" width=\"116\" height=\"68\" alt=\"Flatshare Group\" /></a>";
	
	if (isset($_SESSION['username'])) {
		$menu = $account . $group;
	}
	else {
		$menu = $register;
	}

	echo "<p>" . $menu . "</p>";
	
?>